package com.iword.simple.event.config;

import com.iword.simple.event.EventDispatcher;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class EventConfig {

    @Bean
    public EventDispatcher dispatcher(){
        return new EventDispatcher("com.iword.simple.event");
    }

}
